import pymysql

db = pymysql.connect(host="www.xiaotao2333.top", user="xiaotao", password="mojintao233", port=3306)
cursor = db.cursor()
cursor.execute("SELECT VERSION()")

data = cursor.fetchone()
print("Data base version:", data)

db.close()
# cursor.execute("CREAT DATABASE ")